/* Main CSS */
body {
    font-family: "Bahnschrift", sans-serif;
    background-color: #556b2f;
    margin: 0;
    padding: 0;
    display: flex;
}
.content {
    width: 80%;
    margin: auto;
    padding: 10px;
    text-align: center;
    height: max-content;
}
a.header {
    color: white;
    text-decoration: none;
    position: relative;
    text-align: center;
}
h1 {
    margin: 20px 0;
    text-align: center;
}
h2 {
    color: white;
}
h3 {
    color: white;
}

/* Login.html */
.login {
    width: 600px;
    background-color: rgba(4, 82, 56, 0.54);
    margin: 20px auto;
    border-radius: 15px;
    padding: 10px 20px;
}

button {
    background-color: #063725;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s ease;
}
input {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Book Columns */
.column {
    width: 15%;
    background-repeat: repeat-y;
    background-position: center;
    min-height: 100vh;
}
.column.left {
    background-image: url('books1.jpg');
    float: left;
}
.column.right {
    background-image: url('books1.jpg');
    float: right;
}

/* Login en Register buttons van Main */
.login-button,
.auth-buttons .button {
    background-color: #04AA6D;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s ease;
}
.login-button {
    position: absolute;
    top: 20px;
    right: 20px;
}
.login-button a:hover,
.auth-buttons .button:hover,
button:hover{
    background-color: #039956;
}
.auth-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}
.header {
    text-decoration: none;
    color: white;
    font-size: 2em;
    font-family: "Fleur De Leah", cursive;
    font-weight: 400;
    font-style: normal;
    top: 0;
}

/* Book Shelf */
.shelf {
    border-bottom: 5px solid #D4CFB1;
    color: #D4CFB1;
    margin: 10px;
}
.shelf h2 {
    color: white;
    font-size: 1.5em;
}
.books {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.book {
    width: 180px;
    height: 300px;
    background-color: black;
    border: 2px solid black;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
img {
    width: 180px;
    height: 300px;
    object-fit: cover;
    border-radius: 7px;
}
.book-title {
    font-size: 0.9em;
    color: white;
    text-align: center;
    background-color: black;
    width: 100%;
    padding: 2px 0;
}
.leenboek, .reserveer {
    background-color: #000000;
    color: white;
    font-size: 0.9em;
    width: 100%;
    text-align: center;
    padding: 2px 53px;
    margin: 0;
    font-weight: initial;
}


/* Table */
table {
    font-family: Bahnschrift, sans-serif;
    border-collapse: collapse;
    width: 100%;
    color: white;
}
td, th {
    border: 1px solid #000000;
    text-align: left;
    padding: 8px;
}
tr:nth-child(even) {
    background-color: #04AA6D;
}

/* TopNav */
.topnav {
    background-color: #063725;
    overflow: hidden;
    top: 0;
    text-align: center;
}
.topnav a {
    float: initial;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
.topnav a.active {
    background-color: #063725;
    color: white;
}

iframe
{
    position: absolute;
    display: flex;
    gap: 10px;
}

.gif {
    height: auto;
    width: auto;
}

.name-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.name-group input {
    flex: 1;
}

/*Profile*/
.profile-container, .edit-profile {
    max-width: 700px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
}
p {
    font-size: 16px;
    line-height: 1.5;
    color: white;
}
.btn {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 20px;
    background-color: #000000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.section-header {
    align-items: center;
    text-align: center;
}
.section-header h2 {
    margin: 0;
    font-size: 20px;
    color: white;
    text-align: center;

}
.edit-icon {
    font-size: 18px;
    color: #ffffff;
    transition: color 0.3s ease;
    text-decoration: none;
}
.edit-icon:hover {
    color: #55ddb9;
}
.edit-icon i {
    margin-left: 5px;
}

/* Uyarı Mesajları için Stil */
.alert {
    padding: 20px;
    background-color: #f44336;
    color: white;
    opacity: 1;
    transition: opacity 0.6s;
    margin-bottom: 15px;
}

.alert.success {background-color: #04AA6D;}
.alert.info {background-color: #2196F3;}
.alert.warning {background-color: #ff9800;}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}


